tanke = ["程咬金","庄周"]
fashi = ["貂蝉","王昭君"]
cike = ["兰陵王","李白"]
sheshou = ["鲁班","孙尚香"]
fuzhu = ["张飞","牛魔"]
zhanshi = ["李信","亚瑟"]
tanke.insert(1,"刘禅")
del fashi[1]
print("坦克是：")
for item in tanke :
    print(item,end='')
print(" ")
print("法师是：")
for item in fashi :
    print(item,end='')
print(" ")
print("刺客是：")
for item in cike :
    print(item,end='')
print(" ")
print("射手是：")
for item in sheshou :
    print(item,end='')
print(" ")
print("辅助是：")
for item in fuzhu :
    print(item,end='')
print(" ")
print("战士是：")
for item in zhanshi :
    print(item,end='')
teleplay = [('<<g>>的收视率：',1.4),('<<t>>的收视率：',1.3),\
            ('<<m>>的收视率：',1.5),('<<n>>的收视率：',0.8),('<<i>>的收视率：',1.6),\
            ('<<s>>的收视率：',0.4),('<<e>>的收视率：',0.9),('<<b>>的收视率：',0.2),\
            ('<<d>>的收视率：',1.7),('<<a>>的收视率：',0.3)]
teleplay.insert(1,'增加')
del teleplay[1]
teleplay.sort(key = lambda x:x[1])
for item in teleplay :
    print(item)

